"use strict";
cc._RF.push(module, '13e16RJS3RB+6hc1xX4unYM', 'OnResize');
// script/standar/utils/js/OnResize.js

"use strict";

/**由于引擎BUG，TS端不调用setResizeCallback函数，所以才存在这个类 */
cc.Class({
  "extends": cc.Component,
  properties: {
    onResizeEvent: {
      "default": null,
      type: cc.Component.EventHandler,
      serializable: true
    }
  },
  start: function start() {
    var self = this;
    cc.view.setResizeCallback(function () {
      self.onResizeEvent.emit();
    });
  }
});

cc._RF.pop();